INSERT INTO  UE_APP_SWITCH_FRF 
select FRF.* FROM V_CUFFRF FRF,UE_APP_SWITCH_UBI UBI
WHERE FRF.CUF_ID=UBI.CUF_ID